package com.java.service;

import com.java.dao.BookDAO;
import com.spring.dao.BookDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookService {
    @Autowired
    private BookDAO bookDao;
    public void saveBook(){
        System.out.println("BookService 正在调用 bookDao的save方法........");
        bookDao.saveBook();
    }
}
